/**
 * @ClassName: Demo01
 * @Description: TODO 内置加载器的查看
 * @Author: MaykkStar@163.com
 */
public class Demo01 {
    public static void main(String[] args) {
        ClassLoader c = ClassLoader.getSystemClassLoader();
        System.out.println(c);
        // sun.misc.Launcher$AppClassLoader@18b4aac2 - System class loader
        System.out.println(c.getParent());
        // sun.misc.Launcher$ExtClassLoader@1b6d3586 - Platform class loader
        System.out.println(c.getParent().getParent());
        // null - Bootstrap class loader
    }
}